
<div id="main-content" class="prepend-1 span-19 last">
	<h3>Ubah Organisasi</h3>
<?php 
	if ($editstatus == 'failed') {
		echo '<span class="error">Organisasi gagal diedit. Silakan coba beberapa saat lagi.</span>';
	} else {
		$name = set_value('name', $organization->name);
		$year = set_value('year', $organization->year);
		$position = set_value('position', $organization->position);
	}
?>
<?php echo form_open('mahasiswa/profile/organization/edit/'.$organization->id, array('class' => 'form')); ?>
		<label>Nama Organisasi <?php echo form_error('name'); ?></label><br />
		<input style="width: 400px!important" type="text" name="name" value="<?php echo $name; ?>" class="title" maxlength="64" /><br /><br />
		<label>Tahun <?php echo form_error('year'); ?></label><br />
		<input style="width: 400px!important" type="text" name="year" value="<?php echo $year; ?>" class="title" maxlength="4" /><br /><br />
		<label>Posisi dan Deskripsi Singkat <?php echo form_error('position'); ?></label><br />
		<textarea rows="" cols="" name="position" class="textmini"><?php echo $position; ?></textarea>
		<br /><br />
		<input type="submit" value="Batal" name="save" class="submit" style="margin-left: 272px" />
		<input type="submit" value="Simpan" name="save" class="submit" />
<?php echo form_close(); ?>
	<br /><br />
</div>
